import request from '@/utils/request'

export function modifyIntfData(data) {
  return request({
    url: '/modifyIntfData',
    method: 'post',
    data: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}

export function getIntfDataWeb(dispatchId) {
  return request({
    url: '/getIntfDataWeb',
    method: 'get',
    params: {
      dispatchId: dispatchId,
      intf: 'TraumaBodycheck'
    },
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
